package com.example.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "收藏的帖子与用户关注", description = "用于app的社区的我的关注与用户关注")
public class LikeUser
{
    /**id*/
    @ApiModelProperty(value = "id", example = "1")
    private Integer id;
    /**用户id*/
    @ApiModelProperty(value = "用户的id与user表的id相对应", example = "1")
    private Integer uid;
    /**喜欢的用户id*/
    @ApiModelProperty(value = "喜欢的用户id与user表的id相对应", example = "2")
    private Integer likeId;
    /**用户账号*/
    @ApiModelProperty(value = "用户的账号", example = "admin666")
    private String username;
    /**用户名字*/
    @ApiModelProperty(value = "用户的名字", example = "刘思琪")
    private String name;
    /**用户头像*/
    @ApiModelProperty(value = "用户的头像", example = "https://www.logosc.cn/uploads/resources/2023/03/17/1679045108_thumb.jpg")
    private String avatar;
    /**用户tip*/
    @ApiModelProperty(value = "用户的等级", example = "状元")
    private String tip;
    @ApiModelProperty(value = "帖子的分类id与postcategory的id相对应", example = "3")
    private Integer pcid;
    @ApiModelProperty(value = "帖子的名字", example = "南宋宫廷音乐活化石——潮阳笛套音乐")
    private String postName;


    public Integer getPcid() {
        return pcid;
    }

    public void setPcid(Integer pcid) {
        this.pcid = pcid;
    }

    public String getPostName() {
        return postName;
    }

    public void setPostName(String postName) {
        this.postName = postName;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getYuedu() {
        return yuedu;
    }

    public void setYuedu(String yuedu) {
        this.yuedu = yuedu;
    }

    public String getCreatetime() {
        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }

    @ApiModelProperty(value = "帖子的内容", example = "潮阳棉城传统习俗，农历八月十八“赏仙会”续更！据传早在元朝时期，由于受朝廷的残暴压迫，当地百姓对于元朝统治非常不满，民怨很深。因此每年农历8月18日，潮阳人民连同宋室遗老们在县城南坛举行“赏仙会”。而所谓“赏仙”只是借口")
    private String content;
    @ApiModelProperty(value = "帖子的图片", example = "http://47.96.160.116:9090/files/1722494037920-微信截图_20240801143347.png")
    private String img;
    @ApiModelProperty(value = "帖子的阅读量", example = "32")
    private String yuedu;
    @ApiModelProperty(value = "帖子的创建时间", example = "2024-07-31T04:34:45.238Z")
    private String createtime;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getTip() {
        return tip;
    }

    public void setTip(String tip) {
        this.tip = tip;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getLikeId() {
        return likeId;
    }

    public void setLikeId(Integer likeId) {
        this.likeId = likeId;
    }
}
